package com.qf.pojo;

/**
 * @Description: 公用常量
 * @Data: 2022/8/22 23:34
 * @Pacakge: com.qf.pojo
 * @ClassName: Admin
 * @Author: fan
 * 管理员实体类
 */
public class Admin {
    private Integer id;//管理员编号
    private String username;//用户名
    private String password;//密码

    public Admin() {
    }

    public Admin(Integer id, String username, String password) {
        this.id = id;
        this.username = username;
        this.password = password;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
